package com.ajmd.onlineexam.vo;

import com.ajmd.onlineexam.entity.ImagePO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author ajmd
 * @since 2023/5/11 20:46
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ExamQuestionVO implements Serializable {
    //唯一标识
    private String id;
    //考试id
    private String examId;
    //试卷试题id
    private String questionId;
    //排序
    private Integer sort;
    //分值
    private BigDecimal score;
    //试题类型
    private Integer questionType;
    //试题内容
    private String content;
//    //试题答案
//    private String answer;
//    //答案解析
//    private String answerAnalysis;
//    //是否允许顺序不一致
//    private Boolean allowDifficultOrder;
//    //答案关键词
//    private String answerKey;
    //是否有图片
    private Boolean hasPic;
//    //评分方式
//    private Integer gradeMethod;
//    //困难等级
//    private Integer difficulty;
    //图片列表
    private List<ImagePO> picList;
    //选项列表
    private List<OptionVO> optionList;
}
